<?php

class Admin extends Controller
{
     function Admin()
    {
        parent::Controller();
        
        $this->load->helper('url');
        $this->load->helper('form');
        $this->load->helper('email');
        
        $this->load->model('ignitedrecord/ignitedrecord');
        //$this->load->model('classe'); 
        
    }
    
    function index()
    {
		if(NULL ==  getenv('HTTP_REFERER'))
		{
            echo "NASTĄPIŁA PRÓBA WYŁUDZENIA INFORMACJI !";
            return;
		}
        
        $this->load->view('admin_view');
    }    
   
}

?>
